﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Stimulus360.Models.Data.CustomTypes.HomeViewSummary>" %>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
  <div class="centerContainer">
    <%Html.RenderPartial("HomeLeftNavigation",Model ); %>

            <div>
        <div id="silverlightControlHost" class="mainHom">
		<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
			<param name="source" value="/ClientBin/HomeViewGraphs.xap"/>
		
			<param name="onerror" value="onSilverlightError" />
			<param name="background" value="white" />
			<param name="minRuntimeVersion" value="2.0.31005.0" />
			<param name="autoUpgrade" value="true" />
			<a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;">
     			<img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none"/>
			</a>
		</object>
		<iframe style='visibility:hidden;height:0;width:0;border:0px'></iframe>
    </div>
      </div> 
    <script type ="text/javascript" >
        function onSilverlightError(sender, args) {
            alert("error");
        }
    </script>

    </div>

</asp:Content>
